package com.chao.demo.bean;

import lombok.Data;
import java.util.Date;

@Data
public class ChatMessage {
    private String sender;
    private String receiver;
    private String content;
    private Date timestamp = new Date();
    private MessageType type;
    
    public enum MessageType {
        CHAT, JOIN, LEAVE
    }
}